package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TbSourcelink entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_sourcelink", catalog = "imcdbserver")
public class TbSourcelink implements java.io.Serializable {

	// Fields

	private Integer linkId;
	private Integer uiId;
	private String linkTitle;
	private String linkAddress;
	private String linkDescrible;

	// Constructors

	/** default constructor */
	public TbSourcelink() {
	}

	/** minimal constructor */
	public TbSourcelink(Integer uiId, String linkTitle, String linkAddress) {
		this.uiId = uiId;
		this.linkTitle = linkTitle;
		this.linkAddress = linkAddress;
	}

	/** full constructor */
	public TbSourcelink(Integer uiId, String linkTitle, String linkAddress,
			String linkDescrible) {
		this.uiId = uiId;
		this.linkTitle = linkTitle;
		this.linkAddress = linkAddress;
		this.linkDescrible = linkDescrible;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "link_id", unique = true, nullable = false)
	public Integer getLinkId() {
		return this.linkId;
	}

	public void setLinkId(Integer linkId) {
		this.linkId = linkId;
	}

	@Column(name = "ui_id", nullable = false)
	public Integer getUiId() {
		return this.uiId;
	}

	public void setUiId(Integer uiId) {
		this.uiId = uiId;
	}

	@Column(name = "link_title", nullable = false, length = 200)
	public String getLinkTitle() {
		return this.linkTitle;
	}

	public void setLinkTitle(String linkTitle) {
		this.linkTitle = linkTitle;
	}

	@Column(name = "link_address", nullable = false, length = 200)
	public String getLinkAddress() {
		return this.linkAddress;
	}

	public void setLinkAddress(String linkAddress) {
		this.linkAddress = linkAddress;
	}

	@Column(name = "link_describle", length = 200)
	public String getLinkDescrible() {
		return this.linkDescrible;
	}

	public void setLinkDescrible(String linkDescrible) {
		this.linkDescrible = linkDescrible;
	}

}